#pragma once
#include "mfcwpfelement.h"

class CMFCWPFLine :
	public CMFCWPFElement
{
public:
	CMFCWPFLine(void);
	~CMFCWPFLine(void);

	void Parse(const CString & szPath, CECGXmlParser * pXamlParser, const CRect & oRect);
	bool DrawSelf(CDCPlus * pCDCPlus);

protected:
	int X1;
	int Y1;
	int X2;
	int Y2;

	void CalculatePoint(const CRect & oRect);
};
